package com.redoor.app.stake.auth.model;

import com.redoornetwork.framework.mybatis.service.AbstractQueryCriteria;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
* Created by wangjunlei on 2018-02-07 15:19:13.
*/
public class BaseUserCriteria extends AbstractQueryCriteria {

    /**
     * 登录用户名
     */
    private String loginName;

    @ApiModelProperty(value = "角色uuid批量存储")
    private String roleUuids;

    @ApiModelProperty(value = "账户", required = false)
    @Column(name = "loginName")
    private String loginname;

    /**
     * 登陆密码
     */
    @ApiModelProperty(value = "密码", required = false)
    private String password;

    /**
     * 全称
     */
    @ApiModelProperty(value = "用户名称", required = false)
    @Column(name = "fullName")
    private String fullname;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "修改时后台需传入uuid")
    private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getRoleUuids() {
        return roleUuids;
    }

    public void setRoleUuids(String roleUuids) {
        this.roleUuids = roleUuids;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
}
